package com.tsx.response.entity.enums;

import lombok.Getter;

@Getter
public enum ReturnCodeEnum {
    RC200(200, "success"),
    RC500(500, "error"),

    RC_PARAM_NOT_ZERO(500, "param can not be zero"),
    ;
    private final Integer code;
    private final String message;

    ReturnCodeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
